@import 'compass';
@import '_mixins.scss';
.addFriendContainer {
  .pageHeader {
    border-bottom: 1px solid #ccc;
  }
  .sendRequests {
    margin-top: 24px;
    @include justify-content(center);
  }
  .searchInput {
    padding-right: 38px;
    background-size: 20px 20px;
    background-position: right 9px top 9px;
    background-image: image-url('search.png');
    background-repeat: no-repeat;
  }
  .toggleRecordsList {
    height: 25px;
    background: #FFB800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 25px;
    text-align: center;
    @include border-radius(4px);
    i {
      margin-left: 6px;
    }
    &:hover {
      background: #33ab9f;
    }
  }
  .addRecords {
    @include padding2(24px, 24px);
    .recordsList {
      overflow: auto;
      @include padding-right(24px);
    }
    .recordItem {
      margin-bottom: 8px;
      .recordItemInfo {
        margin-bottom: 12px;
        img {
          width: 40px;
          height: 40px;
          background: #33ab9f;
          margin-right: 12px;
        }
        .serviceInfo {
          @include justify-content(space-between);
        }
        .serviceInfoDetail {
          height: 20px;
          line-height: 20px;
        }
        .serviceName {
          margin-right: 40px;
        }
        .sendTyeInfo {
          font-size: 12px;
        }
        .labels {
          @include justify-content(flex-end);
          @include align-items(center);
          .layui-badge {
            width: 58px;
            height: 22px;
            line-height: 22px;
            margin-right: 12px;
          }
        }
      }
      .targetsOperate {
        @include align-items(center);
        .layui-progress {
          margin-right: 12px;
        }
        .layui-btn {
          width: 58px;
          margin-left: 48px;
        }
      }
      .tabs {
        button {
          width: 58px;
          border-bottom: none;
        }
      }
      .targetsList {
        border: 1px solid #ccc;
        .listItem:hover {
          background: none !important;
        }
      }
    }
  }
}
.routeContent {
  .friendRoute {
    margin: 12px 24px;
    .verifyCount {
      font-size: 16px;
      margin: 8px 0 12px 0;
    }
    .layui-form-mid {
      margin: 0 12px;
    }
    .intervalTime{
      margin: 12px 0 12px 0;
      @include align-items(center);
      input {
        width: 54px;
      }
      .recommendVal {
        margin-left: 20px;
      }
    }
    .maxCount {
      #slide {
        margin: 18px 0;
        width: 160px;
        .layui-slider {
          background: #ccc;
        }
      }
      .layui-input {
        width: 72px;
        margin-right: 8px;
      }
      .flex-row {
        @include align-items(center);
      }
    }
    .itemTitle {
      margin: 12px 0;
    }
  }
  .addOperate {
    width: 260px;
    border-right: 1px solid #ccc;
    @include padding2(24px, 24px);
    @include flex-shrink(0);
    .inputAccounts {
      height: 160px;
      width: 100%;
      resize: none;
      outline: none;
      font-size: 14px;
      border-color: #ccc;
      @include padding2(8px, 12px);
    }
    .accountsTotal {
      margin: 12px 0;
    }
  }
}

.addGroupFriend {
  .toggleOwner {
    margin: 12px 0;
    input:last-child {
      margin-left: 12px;
    }
  }
  .groupListTitle {
    height: 24px;
    line-height: 24px;
  }
  .groupList {
    overflow: auto;
  }
  .listItem {
    padding: 0;
    &:hover {
      background: none !important;
    }
    .listItem {
      @include flex-grow(1);
    }
  }
  .select {
    margin-right: 8px;
  }
  .groupMemberListContainer {
    @include padding2(12px, 12px);
    .listContainerHead {
      @include justify-content(space-between);
      .subTitle {
        margin-top: 12px;
      }
      input {
        width: 180px;
      }
    }
    .memberListContainer {
      margin: 12px 0;
      border: 1px solid #ccc;
      overflow: auto;
      @include padding2(12px, 12px);
      @include border-radius(4px);
    }
    .checkboxes {
      margin-bottom: 12px;
    }
    .memberList {
      overflow: auto;
      @include flex-wrap(wrap);
      @include justify-content(flex-start);
      @include align-content(flex-start);
      .listItem {
        width: 160px;
        margin-right: 8px;
      }
    }
    .memberCountDesc {
      margin-top: 12px;
      text-align: center;
    }
    .sendRequests {
      margin-top: 0;
      margin-bottom: 12px;
    }
  }
  .addRecords {
    @include padding2(12px, 12px);
    .toggleRecordsList {
      margin-right: 24px;
    }
  }
}
.addFriendContainer .routeContent .dialog {
  height: 200px;
  .wainInfo {
    margin: 24px 0;
    p {
      height: 24px;
      line-height: 24px;
    }
  }
  .buttons {
    text-align: center;
    button {
      margin: 0 24px;
    }
  }
}

.friendVerify {
  @include padding2(24px, 24px);
  .friendVerifyHeader {
    height: 36px;
    @include justify-content(space-between);
    @include align-items(center);
    input {
      margin-right: 8px;
    }
  }
  .verifyTabs {
    margin-top: 12px;
    button {
      border-bottom: none;
      width: 95px;
    }
  }
  .verifyListContainer {
    border: 1px solid #ccc;
    overflow: auto;
    @include padding2(12px, 12px);
    .verifyListTitle {
      margin-bottom: 8px;
      input {
        margin-right: 8px;
      }
    }
    .verifyList {
      overflow: auto;
      .listItem {
        padding: 0;
        input {
          margin-right: 8px;
        }
        .attachInfoContainer {
          @include align-items(center);
          @include justify-content(space-between);
          @include padding-right(24px);
        }
        &:hover {
          background: none !important;
        }
      }
    }
  }
  .acceptVerify {
    width: 68px;
    margin: 24px 0;
  }
}
